/**
 * ������jquery
 * ����
 * Created by ��ı on 2015-05-08.
 */
function showMask() {
    $('#mask').css('display', 'block');
}

function hideMask() {
    $('input').removeAttr("disabled");//去除input元素的disabled属性
    $('textarea').removeAttr("disabled");
    $('#mask').css('display', 'none');
}
function closeDialog(){
    hideMask()
    $("#js_sellect_col").dialog('close');
    $("#js_sellect_beacon").dialog("close");
}

$(document).ready(function () {
    var mask = $('<div id="mask" ' +
    'style="' +
    'display: none; ' +
    'position: fixed; ' +
    'top: 0; ' +
    'left: 0; ' +
    'width: 100%; ' +
    'height: 100%; ' +
    'background-color: ' +
    'black; ' +
    'z-index: 1001;' +
    '-moz-opacity: 0.3; ' +
    'opacity: .30; ' +
    'filter: alpha(opacity=30); ' +
    '"></div>');
    $('body').append(mask);
});
